package com.example.icongyou.bean;

import com.google.gson.annotations.SerializedName;

public class Teacher {

    @SerializedName("teacherId")
    private String teacherId;

    @SerializedName("teacherName")
    private String name;

    @SerializedName("password")
    private String password;

    // 构造函数
    public Teacher(String teacherId, String name, String password) {
        this.teacherId = teacherId;
        this.name = name;
        this.password = password;
    }

    // Getters and Setters (Retrofit/Gson 需要它们进行序列化)

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    // ... 其他字段和方法
}